<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改社会实践')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-practice-edit" th:object="${practice}">
            <input name="practiceId" th:field="*{practiceId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">学生编号：</label>
                <div class="col-sm-8">
                    <input name="studentNumber" th:field="*{studentNumber}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">在校实践成绩：</label>
                <div class="col-sm-8">
                    <input name="schoolScore" th:field="*{schoolScore}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">假期实践成绩：</label>
                <div class="col-sm-8">
                    <input name="vacationScore" th:field="*{vacationScore}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">毕设成绩：</label>
                <div class="col-sm-8">
                    <input name="gpScore" th:field="*{gpScore}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否签第三方：</label>
                <div class="col-sm-8">
                    <input name="signContract" th:field="*{signContract}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="text" name="aduitStatus" th:field="*{aduitStatus}" class="form-control">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <textarea name="remark" class="form-control">[[*{remark}]]</textarea>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "gas/practice";
        $("#form-practice-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-practice-edit').serialize());
            }
        }
    </script>
</body>
</html>